﻿<UserControl x:Class="OpenTKLightingTool.Controls.MaterialProperties"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:ctrl="clr-namespace:OpenTKLightingTool.Controls"            
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="400">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        
        <Label Grid.Row="0">Ambient:</Label>
        <ctrl:Vector4Control x:Name="uxAmbient" Grid.Row="0" Grid.Column="1" VerticalAlignment="Center" />

        <Label Grid.Row="1">Diffuse:</Label>
        <ctrl:Vector4Control x:Name="uxDiffuse" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" />

        <Label Grid.Row="2">Specular:</Label>
        <ctrl:Vector4Control x:Name="uxSpecular" Grid.Row="2" Grid.Column="1" VerticalAlignment="Center" />

        <Label Grid.Row="3">Shininess:</Label>
        <ctrl:FloatTextBox x:Name="uxShineness" Grid.Row="3" Grid.Column="1"  Height="20" Margin="2" MinValue="0" MaxValue="10000"  VerticalAlignment="Center" />

        <Label Grid.Row="4">Emissive:</Label>
        <ctrl:Vector4Control x:Name="uxEmissive" Grid.Row="4" Grid.Column="1" VerticalAlignment="Center" />
    </Grid>
</UserControl>
